{include file="zp_includetop" /}
{include file="list_seo_title" /}
{include file="zp_include" /}
<link href="{$cdn}css/detail.min.css" rel="stylesheet">
</head>
<body>
{include file="zp_header" /}
<div class="d-pop"></div>
<div class="wp clearfix">
    <div class="d-position"><a href="{$site_path}" title="{$site_name}">首页</a><span>/</span>{eq name="show.list_pid" value="0"}<a class="current" href="{:zanpian_show_url($show)}" title="{$show.list_name}">{$show.list_name}</a>{else/}<a href="{:zanpian_show_url($show.list_pid)}" title="{:getlistname($show.list_pid,'list_name')}">{:getlistname($show.list_pid,'list_name')}</a><span>/</span><a class="current" href="{:zanpian_show_url($show)}" title="{$show.list_name}">{$show.list_name}</a>{/eq}</div>
    <div class="d-list-type">
        <div class="d-list-nav">
            <div class="d-list-tool">
                <h4 class="name fl"></h4>
                <span><a href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>'','area'=>'','year'=>'','letter'=>'','order'=>'','lz'=>'','p'=>''))}">重置条件</a></span>
                <ul class="conbread">
                    {notempty name="param.mcid"}
                    <li>{$param['mcid']|mcat_title}<i class="iconfont"><a href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>'','mename'=>'','area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                    {notempty name="param.area"}
                    <li>{$param['area']}<i class="iconfont"><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>'','earea'=>'','year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                    {notempty name="param.year"}
                    <li>{$param['year']}<i class="iconfont"><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>'','earea'=>'','year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                    {notempty name="param.letter"}
                    <li>{$param['letter']}<i class="iconfont"><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>'','order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                </ul> 
            </div>
            <h2>分类索引</h2>
        </div>
        <div class="d-type-box">
            <div class="d-type-list">
                <h5>分类：</h5>
                <ul>
                    {notempty name="show['list_pid']"}
                    <li><a {eq name="show['list_pid']" value="0"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="id-{$show['list_pid']}">全部</a></li>
                    {list pid="'.$show['list_pid'].'"}
                    <li><a {eq name="show.list_id" value="$zanpian.list_id"}class="current"{/eq} href="{:zanpian_show_url($zanpian)}" title="{$zanpian.list_name}" data="id-{$zanpian.list_id}">{$zanpian.list_name}</a></li>
                    {/list}
                    {else /}
                    {list pid="'.$show['list_id'].'" sid="1"}
                    {eq name="key" value="1"}
                    <li><a {eq name="show['list_pid']" value="0"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="id-{$show['list_id']}">全部</a></li>{/eq}
                    <li><a {eq name="show.list_id" value="$zanpian.list_id"}class="current"{/eq} href="{:zanpian_show_url($zanpian)}" title="{$zanpian.list_name}" data="id-{$zanpian.list_id}">{$zanpian.list_name}</a></li>
                    {/list}
                    {/notempty}
                </ul>
            </div>
            <div class="d-type-list">
                <h5>类型：</h5>
                <ul>
                    <li><a {empty name="param.mcid"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>'','mename'=>'','area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="mcid-0">全部</a></li>
                    {mcat cid="'.$show['list_id'].'" offset="0" length='31'}
                    <li><a {eq name="zanpian.m_cid" value="$param['mcid']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$zanpian['m_cid'],'mename'=>$zanpian['m_ename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="{$zanpian.m_name}" data='mcid-{$zanpian.m_cid}'>{$zanpian.m_name}</a></li>
                    {/mcat}
                </ul>
            </div>
            <div class="d-type-list">
                <h5>地区：</h5>
                <ul>
                    <li><a {empty name="param.area"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>'','earea'=>'','year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="area-0">全部</a></li>
                    {volist name="list_area" id="area" offset="0" length='13'}
                    <li><a {eq name="area['name']" value="$param['area']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($area['name']),'earea'=>$area['ename'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="{$area.name}" data='area-{$area.name|urlencode}'>{$area.name}</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="d-type-list">
                <h5>年代：</h5>
                <ul>
                    <li><a {empty name="param.year"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>"",'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="year-0">全部</a></li>
                    {volist name="list_year" id="year" offset="0" length='8'}
                    <li><a {eq name="year" value="$param['year']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$year,'letter'=>$param['letter'],'order'=>$param['order']))}" title="{$year}" data="year-{$year}">{$year}</a></li>
                    {/volist}
                    <li><a {eq name="param.year" value="1999,2009"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>'1999,2010','letter'=>$param['letter'],'order'=>$param['order']))}" title="2009-1999" data='year-1999,2009'>2009-1999</a></li>
                    <li><a {eq name="param.year" value="1990,1999"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>'1990,1999','letter'=>$param['letter'],'order'=>$param['order']))}" title="2009-1999" data='year-1990,1999'>90年代</a></li>
                    <li><a {eq name="param.year" value="1980,1989"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>'1980,1989','letter'=>$param['letter'],'order'=>$param['order']))}" title="1980,1989" data='year-1980,1989'>80年代</a></li> 
                    <li><a {eq name="param.year" value="1900,1980"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>'1900,1980','letter'=>$param['letter'],'order'=>$param['order']))}" title="1900,1980" data='year-1900,1980'>更早</a></li>
                </ul>
            </div>
            <div class="d-type-list list_s_letter">
                <h5>字母：</h5>
                <ul>
                    <li><a {empty name="param.letter"}class="current"{/empty}  href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>'','order'=>$param['order']))}" title="全部" data="letter-0">全部</a></li>
                    {volist name="list_letter" id="letter"}
                    <li><a {eq name="letter" value="$param['letter']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$letter,'order'=>$param['order']))}" title="{$letter}" data='letter-{$letter}'>{$letter}</a></li>
                    {/volist}
                    <li><a {eq name="param.letter" value="0,1,2,3,4,5,6,7,8,9"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>'0,1,2,3,4,5,6,7,8,9','order'=>$param['order']))}">0-9</a></li>
                </ul>
            </div>
        </div>
    </div>
    {php}    
        if($param[order]){
            $s_order=$param[order]." desc";
        }else{
            $s_order="addtime desc";
        }
        $vod_list=zanpian_mysql_vod('mcid:'.$param['mcid'].';cid:'.$list_id.';year:'.$param[year].';letter:'.$param[letter].';area:'.$param[area].';language:'.$param[language].';field:vod_id,vod_cid,vod_name,vod_director,vod_letters,vod_pic,vod_gold,vod_continu,vod_title,vod_total,vod_actor,vod_mcid,vod_year,vod_addtime,vod_content;limit:30;page:true;p:'.$list_page.';cahce_name:default;cahce_time:600;order:vod_'.$s_order.';');
    {/php}
    {vod var="vod_list" cid="'.$show['list_id'].'" mcid="'.$param['mcid'].'" area="'.$param['area'].'" year="'.$param['year'].'"  letter="'.$param['letter'].'" limit="30" page="true"}{/vod}
    <div class="wp mt15 clearfix">
        <div class="d-warp-left fl">
            <div class="d-star-fliter">
                <div class="d-star-fbox"><span>排序：</span>
                    <a {eq name="param.order" value="addtime"}class="curr"{/eq}{empty name="param.order"}class="curr"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'addtime'))}" data="order-addtime">按时间</a>
                    <a {eq name="param.order" value="hits"}class="curr"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'hits'))}" data="order-hits">按人气</a>
                    <a {eq name="param.order" value="gold"}class="curr"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$show['list_id'],'dir'=>$show['list_dir'],'mcid'=>$param['mcid'],'mename'=>$param['mename'],'area'=>urlencode($param['area']),'earea'=>$param['earea'],'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'gold'))}" data="order-gold">按评分</a>
                </div>
            </div>
            <div class="d-item-list clearfix" id="contents">
                {notempty name="vod_list"}
                {volist name="vod_list" id="zanpian"}
                {include file="plain_index_list" /}
                {/volist}
                {else/}
                <div class="kong">抱歉，没有找到相关内容！</div>
                {/notempty}
            </div>
            <div class="tab-a uipages pages"><ul class="pages">{$vod_list->render()}</ul></div>
        </div>
        {include file="plain_vodright" /}
    </div>
</div>
<script>
var type_ajax_url="index.php?s=home-vod-type";
var type_parms={"id":"{$show['list_id']}","mcid":"{$param['mcid']}","area":"{$param['area']}","year":"{$param['year']}","letter":"{$param['letter']}","order":"{$param['order']}","picm":1,"p":1};
</script>
{include file="zp_footer" /}
</body>
</html>